package com.zbkj.crmeb.store.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.crmeb.store.dto.HomeActivityDTO;
import com.zbkj.crmeb.store.model.HomeActivity;
import com.zbkj.crmeb.store.request.HomeActivityRequest;

/**
 * 首页样式
 * @Description: 
 * @author daigb
 * @date 2021-09-25
 */
public interface HomeActivityService extends IService<HomeActivity> {
    
    /**
     * 获取商户配置项
     * @Description:  
     * @author daigb 
     * @param @param merId
     * @param @return
     * @return List<HomeActivityDTO>
     * @throws
     */
    List<HomeActivityDTO> listEntity(Integer merId);
    
    /**
     * 分页查询
     * @Description:  
     * @author daigb 
     * @param @param request
     * @param @return
     * @return PageInfo<StoreBrandResponse>
     * @throws
     */
    PageInfo<HomeActivityDTO> pageEntity(Integer merId, HomeActivityRequest request);
    
    /**
     * 保存
     * @Description:  
     * @author daigb 
     * @param @param merId
     * @param @param homeStyleDTOs
     * @param @return
     * @return Boolean
     * @throws
     */
    Boolean saveEntity(Integer merId, List<HomeActivityDTO> homeStyleDTOs);
    
}
